/* 初始样式 */
a {
  color: black; /* 初始颜色 */
  text-decoration: none; /* 去除下划线 */
}

/* 鼠标悬停样式 */
a:hover {
  color: lightgreen; /* 浅绿色 */
}



/* 车型推荐 */
.car-model-recommendation {
    width: 100%;
    height: 700px;
    background-color: #f2f2f2;
}

.car-model-recommendation h2 {
    font-size: 40px;
    margin-left: 45%;
    padding-top: 40px;
    margin-bottom: 30px;
}

.carousel-container {
    position: relative;
    max-width: 70%; /* 根据需要调整 */
    margin-left: 15%;
    border-top: 4px black solid;
}

.carousel-names {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 20px;
}

.carousel-names .carousel-name {
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid transparent;
}

.carousel-names .carousel-name.active {
    border-color: blue; /* 激活状态的颜色 */
}

.carousel-images {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.carousel-img {
    min-width: 100%;
    transition: transform 0.5s ease;
    display: none; /* 默认不显示 */
}

.carousel-img.active {
    display: block; /* 显示当前图片 */
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


/* 购车流程 */
.car-purchase-process {
    width: 80%;
    height: 900px;
    margin: auto
}

.car-purchase-process h2 {
    font-size: 40px;
    padding-top: 40px;
    padding-bottom: 30px;
    margin-bottom: 50px;
    border-bottom: 4px black solid;
    text-align: center;
}

.process-1 {
    width: 49%;
    height: 40%;
    float: left;
    margin-right: 2%
}

.process-2 {
    width: 49%;
    height: 40%;
    float: left;
}

.process-name {
    width: 25%;
    height: 100%;
    float: left;
    margin-right: 2%;
    background-color: #f2f2f2;
}

.process-name:hover {
    background-color: #dddddd;
}


.process-name span {
    font-size: 20px;
    display: inline-block;
    position: relative;
    padding-top: 300px;
    padding-left: 35px
}

.process-1 img {
    width: 73%;
    height: 100%;
    float: left
}

.process-2 img {
    width: 73%;
    height: 100%;
    float: left
}

.process-3-5 {
    width: 32%;
    height: 25%;
    float: left;
    margin-right: 2%;
    margin-top: 30px;
}

.process-3-5 .process-name {
    width: 38%;
    height: 100%;
    float: left;
    margin-right: 3%;
    background-color: #f2f2f2;
}

.process-3-5 .process-name:hover {
    background-color: #dddddd;
}

.process-3-5 .process-name span {
    font-size: 20px;
    display: inline-block;
    position: relative;
    padding-top: 160px;
    padding-left: 35px;
}

.process-3-5 img {
    width: 59%;
    height: 100%;
    float: left;
}

.process-5 {
    width: 32%;
    height: 25%;
    float: left;
    margin-top: 30px;
}

.process-5 .process-name {
    width: 38%;
    height: 100%;
    float: left;
    margin-right: 3%;
    background-color: #f2f2f2;
}

.process-5 .process-name:hover {
    background-color: #dddddd;
}

.process-5 .process-name span {
    font-size: 20px;
    display: inline-block;
    position: relative;
    padding-top: 160px;
    padding-left: 35px;
}

.process-5 img {
    width: 59%;
    height: 100%;
    float: left;
}


.footer {
    background-color:#a3cfbb;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    text-align: left;
}

.footer-column h4 {
    color: #ddd;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.social-links i {
    font-size: 24px;
    margin-right: 10px;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #75b798;
    margin-top: -35px;
}


/*车型*/
.scroll-box {
        height: 600px;
        overflow-y: scroll; /* 垂直滚动条根据需要显示 */
        background-color: #f2f2f2;
    }


